<?php
/**
 * User table data gateway
 *
 * @uses       Zend_Db_Table_Abstract, Model_ZendDb_DbTable_Base
 * @package    FireFeed
 * @subpackage Model
 */
class Model_ZendDb_DbTable_User extends Model_ZendDb_DbTable_Base
{
	protected $_name = 'user';
	protected $_dependentTables = array(
	   'Model_ZendDb_DbTable_Category', 
	   'Model_ZendDb_DbTable_UserNews',
	   'Model_ZendDb_DbTable_UserRoles',
	   'Model_ZendDb_DbTable_UserSystemcategories',
	   'Model_ZendDb_DbTable_CategoriesUsers',
	   'Model_ZendDb_DbTable_UserFeeds',
	   'Model_ZendDb_DbTable_CategoriesOfInterest'
	);
	
	protected $_referenceMap = array(
	   'Profile' => array(
	       'columns'       => 'profile_oid',
	       'refTableClass' => 'Model_ZendDb_DbTable_UserProfile',
	       'refColumns'    => 'oid'
	   )
	);
}